//使用require加载user.js模块
require('./user.js');
require('./game.js');//使用global会造成变量污染
console.log(global.num);
global.show();
console.log(global.goods.goods_name);